s@lm@n
Microsoft
Exam 70-490
Recertification for MCSD: Windows Store Apps using HTML5
Version: 7.0
[ Total Questions: 88 ]
http://certkill.com
Topic break down
Topic No. of Questions
Topic 1: Scenario 1 4
Topic 2: Scenario 2 4
Topic 3: Scenario 3 8
Topic 4: Scenario 4 6
Topic 5: Scenario 5 4
Topic 6: Scenario 6 4
Topic 7: Mix Questions 58
Microsoft 70-490 : Practice Test
2
http://certkill.com
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
Topic 1, Scenario 1
Application Information
You are developing two Windows Store apps by using JavaScript: a Personal Trainer app
and a Client app. The apps will allow personal fitness trainers to interact with their remote
clients.
Business Requirements - Personal Trainer Application
The Personal Trainer app must allow trainers to perform the following tasks:
Create and store video and audio recordings of workout routines.
View the profile and workout recordings for only one client at any time.
Business Requirements - Client Application
The Client app must allow clients to perform the following tasks:
Browse a list of the trainer's workout recordings.
Record workouts by using the built-in webcam.
Play, pause, restart, and stop workout recordings.
If the capability is supported, allow the client's webcam to pan as the client moves
around the room.
Upload workout recordings for trainer review.
Update their individual profiles to indicate workouts completed, calories burned,
and current weight.
The Client app must validate that the client's subscription is valid.
Technical Requirements - General
The Personal Trainer and Client apps must meet the following technical requirements:
Connect to the Internet.
Store workout recordings in the cloud.
Enable retrieval of workout recordings by using a custom URL
Encapsulate the video player in a custom control.
Identify the maximum zoom of the user's webcam in millimeters.
Store client profiles in XML files in the trainers' Documents folders to allow for
disconnected editing.
Synchronize the XML files with cloud storage by using a background task when
the Internet is available.
Send trainer workout videos to cloud storage by using a background task when the
trainer's device is idle. Indicate the status of the upload operation each time the
trainer starts the app. Suspend the background task when the Internet is not
available.
Separate business and complex logic into WinMD components. The solution
debugging settings must include the WinMD components.
Technical Requirements - Hardware Requirements
The Personal Trainer and Client apps must support the following hardware requirements:
Windows 8
Webcam, microphone, and speakers
Internet connection
Microsoft 70-490 : Practice Test
3
http://certkill.com
✑
✑
✑
✑
While testing the apps, you identify the following issues:
When you start the app for the first time, the system displays this warning
message: "This app needs permission to use your camera, which you can change
in the app's settings."
When you run the loadClientProfile() method in the clientData.js file, you receive
an 'Access Denied" exception.
The findCamera() method in the video.js file throws an exception on some devices.
The recordVideo() method in the video.js file throws an exception when the device
does not support tilting.
Microsoft 70-490 : Practice Test
4
http://certkill.com
You need to debug the error that is displayed in the warning message.
What should you do?
Question No : 1 - (Topic 1)
Microsoft 70-490 : Practice Test
5
http://certkill.com
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
You need to retrieve the background task collection for the iteration loop.
Which code segment should you insert at line BG14?
A. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.first();
B. var tasks =
Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks.first();
C. var tasks =
Windows.ApplicationModel.Background.BackgroundTaskBuilder.allTasks.first();
D. var tasks =
Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks();
Answer: B
You need to complete the code to start the background task.
Question No : 2 - (Topic 1)
Question No : 3 - (Topic 1)
Microsoft 70-490 : Practice Test
6
http://certkill.com
✑
✑
✑
✑
✑
✑
Which code segment should you insert at line BG07?
A. Windows.ApplicationModel.Background.SystemTriggerType.servicingComplete.true
B. Windows.ApplicationModel.Background.SystemTriggerType.userPresent.true
C. Windows.ApplicationModel.Background.SystemTriggerType.internetAvailable.false
D. Windows.ApplicationModel.Background.SystemTriggerType.userAway.false
Answer: C
You need to set the default storage location for the client profiles. Which code segment
should you insert at line CD04?
A. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documents
Library;
B. fop.defaultFolder = Windows.Storage.Piekers.PickerLocationId.documents Library;
C. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.videosLibrary;
D. fop.suggestedStartLocation = "%AppData%";
Answer: B
Topic 2, Scenario 2
Background
You are developing an app for an automotive manufacturer. The app will display
information about the vehicle, the vehicle owner's manual, and the maintenance schedule.
The app will be available to install from the Windows Store.
Business Requirements
The app must meet the following business requirements:
Display the company logo on the Main screen, Owner's Manual screen, and
Service Record screen of the app.
Allow users to store their vehicle information to identify the correct information to
display within the app.
Prominently display a stock image of the user's vehicle on the Main screen at the
full height of the app.
Send notifications by using tile updates when a scheduled maintenance is
approaching or past due.
Insert service data in the appropriate locations, and update the Service Record
screen with data received from a cloud service.
Display related media within the app.
Question No : 4 - (Topic 1)
Microsoft 70-490 : Practice Test
7
http://certkill.com
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
✑
Technical Requirements
The app must meet the following technical requirements.
User Experience
The app user interface must follow Microsoft design guidelines.
The user must be able to insert or update service records.
The user must be able to filter service records by date or service type.
The user must be able to navigate between various Darts of the app including but
not limited to the Mainscreen, Service Record screen, and Owner's Manual
screen.
The user cannot switch between categories by using the Back button.
The data from the cloud service must automatically populate the Service Record
screen.
The Main screen must have a dark background. All other screens must have a
light background with contrasting colored text.
All multimedia must provide a full-screen mode that can be activated by the end
user.
All media items must start when the user interacts with them and stop immediately
when a video ends.
The app must accept and display tile messages and notification messages from
the cloud service.
The navigational icons must not be displayed if the content of the screen does not
require such display.
Any page of the owner's manual must be able to be pinned to the Windows Start
screen.
When the app is pinned to the Windows Start screen all live tile sizes must be
available to the users.
When a specific app page is pinned to the Windows Start screen, the page tile
cannot be wider or taller than the dimensions of a wide tile.
Short names and display names must not be displayed on square tiles.
Development
The app must use Microsoft Visual Studio preconfigured templates with built-in
data structures.
External notifications must be delivered by using Windows Push Notification
Services (WNS).
The app must be able to receive push notifications from a Microsoft Azure Mobile
Services endpoint.
Each HTML file must be supported by similarly named JavaScript and CSS files
(for example, myFile.html, myFile.js myFile.css).
File: main.html
Relevant portions of the app files are shown below. Line numbers in the code segments
are included for reference only and include a two-character prefix that denotes the specific
file to which they belong.
Microsoft 70-490 : Practice Test
8
http://certkill.com
File: main.js
Relevant portions of the app files are shown below. Line numbers in the code segments
are included for reference only and include a two-character prefix that denotes the specific
file to which they belong.
File: manual.html
Relevant portions of the app files are shown below. Line numbers in the code segments
are included for reference only and include a two-character prefix that denotes the specific
file to which they belong.
Microsoft 70-490 : Practice Test
9
http://certkill.com
File: manual.js
Relevant portions of the app files are shown below. Line numbers in the code segments
are included for reference only and include a two-character prefix that denotes the specific
file to which they belong.
Microsoft 70-490 : Practice Test
10
http://certkill.com